<?php
/////////////////////////////
//
//    $args = array("hotelcode"=>"POBHT000005");
//    pnModAPIFunc('POBHotel', 'user', 'getHotelCode', null);
//
////////////////////////////
function IShopUser_userapi_getShopName($args) {
    if (!($class = Loader::loadClassFromModule ('IShopUser', 'InformationArray', false)))
      return LogUtil::registerError ('Unable to load class [InformationArray] ...');
      
    $objectArray = new $class;
    $objectArray->get();
    $object = $objectArray->_objData[0];
    
    $result["shop_name"] = $object["shop_name"];
    
    return $result;
}

?>